github.com/klauspost/compress/zstd.blockDec.dst (field)
38 uses
github.com/klauspost/compress/zstd (current package)
blockdec.go#L72: dst []byte
blockdec.go#L208: if cap(b.dst) <= maxSize {
blockdec.go#L209: b.dst = make([]byte, 0, maxSize+1)
blockdec.go#L230: if cap(b.dst) < int(b.RLESize) {
blockdec.go#L232: b.dst = make([]byte, b.RLESize)
blockdec.go#L234: b.dst = make([]byte, maxCompressedBlockSize)
blockdec.go#L237: b.dst = b.dst[:b.RLESize]
blockdec.go#L239: for i := range b.dst {
blockdec.go#L240: b.dst[i] = v
blockdec.go#L242: hist.appendKeep(b.dst)
blockdec.go#L248: saved := b.dst
blockdec.go#L251: b.dst = hist.b
blockdec.go#L254: b.dst = b.dst[:0]
blockdec.go#L258: println("Decompressed to total", len(b.dst), "bytes, hash:", xxhash.Sum64(b.dst), "error:", err)
blockdec.go#L261: hist.b = b.dst
blockdec.go#L262: b.dst = saved
blockdec.go#L264: hist.appendKeep(b.dst)
blockdec.go#L488: b.dst = append(b.dst, hist.decoders.literals...)
blockdec.go#L500: b.dst = hist.decoders.out
blockdec.go#L643: if err := seqs.initialize(br, hist, b.dst); err != nil {
blockdec.go#L682: hist.decoders.out = b.dst[:0]
blockdec.go#L695: b.dst = hist.decoders.out
blockdec.go#L704: hist.append(b.dst)
blockdec.go#L706: println("Finished block with ", len(b.sequence), "sequences. Added", len(b.dst), "to history, now length", len(hist.b))
decoder.go#L760: if cap(block.dst) < int(block.RLESize) {
decoder.go#L762: block.dst = make([]byte, block.RLESize)
decoder.go#L764: block.dst = make([]byte, maxCompressedBlockSize)
decoder.go#L767: block.dst = block.dst[:block.RLESize]
decoder.go#L769: for i := range block.dst {
decoder.go#L770: block.dst[i] = v
decoder.go#L772: hist.append(block.dst)
decoder.go#L773: do.b = block.dst
decoder.go#L791: do.b = block.dst
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |